package com.example.workuitl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.workuitl.util.excle.ExcelImport;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.kangjia.annotation.Excel;

import java.util.Date;
import java.io.Serializable;

/**
 * (TDevice)实体类
 *
 * @author makejava
 * @since 2023-12-24 18:27:16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_device")
@Excel("杆塔信息")
public class TDevice implements Serializable {
    private static final long serialVersionUID = 112025944899874321L;
    
    private Integer id;

    @Excel(name="杆塔编号",sort = 1,isDynamicField = true)
    @ExcelImport(value = "杆塔编号")
    private Integer parent;
    
    private String type;
    
    private Integer catalog;
    
    private String name;
    
    private String caption;
    
    private String vendor;
    
    private Date purchaseDate;
    
    private Date warrantyDate;
    
    private Integer enabled;
    
    private String memo;
    
    private String qrcode;
    
    private Integer removed;
    
    private Integer showInClient;
    
    private Integer moduleId;

    @TableField(exist = false)
    private String value;
}

